﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001225 RID: 4645
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class StartPunkLordRaidScRsp : IMessage<StartPunkLordRaidScRsp>, IMessage, IEquatable<StartPunkLordRaidScRsp>, IDeepCloneable<StartPunkLordRaidScRsp>, IBufferMessage
	{
		// Token: 0x17003ADE RID: 15070
		// (get) Token: 0x0600D040 RID: 53312 RVA: 0x00230F63 File Offset: 0x0022F163
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<StartPunkLordRaidScRsp> Parser
		{
			get
			{
				return StartPunkLordRaidScRsp._parser;
			}
		}

		// Token: 0x17003ADF RID: 15071
		// (get) Token: 0x0600D041 RID: 53313 RVA: 0x00230F6A File Offset: 0x0022F16A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return StartPunkLordRaidScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003AE0 RID: 15072
		// (get) Token: 0x0600D042 RID: 53314 RVA: 0x00230F7C File Offset: 0x0022F17C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return StartPunkLordRaidScRsp.Descriptor;
			}
		}

		// Token: 0x0600D043 RID: 53315 RVA: 0x00230F83 File Offset: 0x0022F183
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartPunkLordRaidScRsp()
		{
		}

		// Token: 0x0600D044 RID: 53316 RVA: 0x00230F98 File Offset: 0x0022F198
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartPunkLordRaidScRsp(StartPunkLordRaidScRsp other) : this()
		{
			this.scene_ = ((other.scene_ != null) ? other.scene_.Clone() : null);
			this.dAAOBJPPKND_ = other.dAAOBJPPKND_.Clone();
			this.cNPIENKHDFM_ = ((other.cNPIENKHDFM_ != null) ? other.cNPIENKHDFM_.Clone() : null);
			this.retcode_ = other.retcode_;
			this.oNAPKMMGHBE_ = other.oNAPKMMGHBE_;
			this.oLBEAFGCGGA_ = other.oLBEAFGCGGA_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D045 RID: 53317 RVA: 0x00231029 File Offset: 0x0022F229
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartPunkLordRaidScRsp Clone()
		{
			return new StartPunkLordRaidScRsp(this);
		}

		// Token: 0x17003AE1 RID: 15073
		// (get) Token: 0x0600D046 RID: 53318 RVA: 0x00231031 File Offset: 0x0022F231
		// (set) Token: 0x0600D047 RID: 53319 RVA: 0x00231039 File Offset: 0x0022F239
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GAMNEPOEGHM Scene
		{
			get
			{
				return this.scene_;
			}
			set
			{
				this.scene_ = value;
			}
		}

		// Token: 0x17003AE2 RID: 15074
		// (get) Token: 0x0600D048 RID: 53320 RVA: 0x00231042 File Offset: 0x0022F242
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> DAAOBJPPKND
		{
			get
			{
				return this.dAAOBJPPKND_;
			}
		}

		// Token: 0x17003AE3 RID: 15075
		// (get) Token: 0x0600D049 RID: 53321 RVA: 0x0023104A File Offset: 0x0022F24A
		// (set) Token: 0x0600D04A RID: 53322 RVA: 0x00231052 File Offset: 0x0022F252
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DIEEHLNJLON CNPIENKHDFM
		{
			get
			{
				return this.cNPIENKHDFM_;
			}
			set
			{
				this.cNPIENKHDFM_ = value;
			}
		}

		// Token: 0x17003AE4 RID: 15076
		// (get) Token: 0x0600D04B RID: 53323 RVA: 0x0023105B File Offset: 0x0022F25B
		// (set) Token: 0x0600D04C RID: 53324 RVA: 0x00231063 File Offset: 0x0022F263
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003AE5 RID: 15077
		// (get) Token: 0x0600D04D RID: 53325 RVA: 0x0023106C File Offset: 0x0022F26C
		// (set) Token: 0x0600D04E RID: 53326 RVA: 0x00231074 File Offset: 0x0022F274
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public long ONAPKMMGHBE
		{
			get
			{
				return this.oNAPKMMGHBE_;
			}
			set
			{
				this.oNAPKMMGHBE_ = value;
			}
		}

		// Token: 0x17003AE6 RID: 15078
		// (get) Token: 0x0600D04F RID: 53327 RVA: 0x0023107D File Offset: 0x0022F27D
		// (set) Token: 0x0600D050 RID: 53328 RVA: 0x00231085 File Offset: 0x0022F285
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool OLBEAFGCGGA
		{
			get
			{
				return this.oLBEAFGCGGA_;
			}
			set
			{
				this.oLBEAFGCGGA_ = value;
			}
		}

		// Token: 0x0600D051 RID: 53329 RVA: 0x0023108E File Offset: 0x0022F28E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as StartPunkLordRaidScRsp);
		}

		// Token: 0x0600D052 RID: 53330 RVA: 0x0023109C File Offset: 0x0022F29C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(StartPunkLordRaidScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.Scene, other.Scene) && this.dAAOBJPPKND_.Equals(other.dAAOBJPPKND_) && object.Equals(this.CNPIENKHDFM, other.CNPIENKHDFM) && this.Retcode == other.Retcode && this.ONAPKMMGHBE == other.ONAPKMMGHBE && this.OLBEAFGCGGA == other.OLBEAFGCGGA && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D053 RID: 53331 RVA: 0x00231134 File Offset: 0x0022F334
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.scene_ != null)
			{
				num ^= this.Scene.GetHashCode();
			}
			num ^= this.dAAOBJPPKND_.GetHashCode();
			if (this.cNPIENKHDFM_ != null)
			{
				num ^= this.CNPIENKHDFM.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.ONAPKMMGHBE != 0L)
			{
				num ^= this.ONAPKMMGHBE.GetHashCode();
			}
			if (this.OLBEAFGCGGA)
			{
				num ^= this.OLBEAFGCGGA.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D054 RID: 53332 RVA: 0x002311DF File Offset: 0x0022F3DF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D055 RID: 53333 RVA: 0x002311E7 File Offset: 0x0022F3E7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D056 RID: 53334 RVA: 0x002311F0 File Offset: 0x0022F3F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ONAPKMMGHBE != 0L)
			{
				output.WriteRawTag(8);
				output.WriteInt64(this.ONAPKMMGHBE);
			}
			this.dAAOBJPPKND_.WriteTo(ref output, StartPunkLordRaidScRsp._repeated_dAAOBJPPKND_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.Retcode);
			}
			if (this.OLBEAFGCGGA)
			{
				output.WriteRawTag(56);
				output.WriteBool(this.OLBEAFGCGGA);
			}
			if (this.cNPIENKHDFM_ != null)
			{
				output.WriteRawTag(82);
				output.WriteMessage(this.CNPIENKHDFM);
			}
			if (this.scene_ != null)
			{
				output.WriteRawTag(122);
				output.WriteMessage(this.Scene);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D057 RID: 53335 RVA: 0x002312B0 File Offset: 0x0022F4B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.scene_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Scene);
			}
			num += this.dAAOBJPPKND_.CalculateSize(StartPunkLordRaidScRsp._repeated_dAAOBJPPKND_codec);
			if (this.cNPIENKHDFM_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.CNPIENKHDFM);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.ONAPKMMGHBE != 0L)
			{
				num += 1 + CodedOutputStream.ComputeInt64Size(this.ONAPKMMGHBE);
			}
			if (this.OLBEAFGCGGA)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D058 RID: 53336 RVA: 0x00231358 File Offset: 0x0022F558
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(StartPunkLordRaidScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.scene_ != null)
			{
				if (this.scene_ == null)
				{
					this.Scene = new GAMNEPOEGHM();
				}
				this.Scene.MergeFrom(other.Scene);
			}
			this.dAAOBJPPKND_.Add(other.dAAOBJPPKND_);
			if (other.cNPIENKHDFM_ != null)
			{
				if (this.cNPIENKHDFM_ == null)
				{
					this.CNPIENKHDFM = new DIEEHLNJLON();
				}
				this.CNPIENKHDFM.MergeFrom(other.CNPIENKHDFM);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.ONAPKMMGHBE != 0L)
			{
				this.ONAPKMMGHBE = other.ONAPKMMGHBE;
			}
			if (other.OLBEAFGCGGA)
			{
				this.OLBEAFGCGGA = other.OLBEAFGCGGA;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D059 RID: 53337 RVA: 0x00231425 File Offset: 0x0022F625
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D05A RID: 53338 RVA: 0x00231430 File Offset: 0x0022F630
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 42U)
				{
					if (num == 8U)
					{
						this.ONAPKMMGHBE = input.ReadInt64();
						continue;
					}
					if (num == 40U || num == 42U)
					{
						this.dAAOBJPPKND_.AddEntriesFrom(ref input, StartPunkLordRaidScRsp._repeated_dAAOBJPPKND_codec);
						continue;
					}
				}
				else if (num <= 56U)
				{
					if (num == 48U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 56U)
					{
						this.OLBEAFGCGGA = input.ReadBool();
						continue;
					}
				}
				else
				{
					if (num == 82U)
					{
						if (this.cNPIENKHDFM_ == null)
						{
							this.CNPIENKHDFM = new DIEEHLNJLON();
						}
						input.ReadMessage(this.CNPIENKHDFM);
						continue;
					}
					if (num == 122U)
					{
						if (this.scene_ == null)
						{
							this.Scene = new GAMNEPOEGHM();
						}
						input.ReadMessage(this.Scene);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04005376 RID: 21366
		private static readonly MessageParser<StartPunkLordRaidScRsp> _parser = new MessageParser<StartPunkLordRaidScRsp>(() => new StartPunkLordRaidScRsp());

		// Token: 0x04005377 RID: 21367
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005378 RID: 21368
		public const int SceneFieldNumber = 15;

		// Token: 0x04005379 RID: 21369
		private GAMNEPOEGHM scene_;

		// Token: 0x0400537A RID: 21370
		public const int DAAOBJPPKNDFieldNumber = 5;

		// Token: 0x0400537B RID: 21371
		private static readonly FieldCodec<uint> _repeated_dAAOBJPPKND_codec = FieldCodec.ForUInt32(42U);

		// Token: 0x0400537C RID: 21372
		private readonly RepeatedField<uint> dAAOBJPPKND_ = new RepeatedField<uint>();

		// Token: 0x0400537D RID: 21373
		public const int CNPIENKHDFMFieldNumber = 10;

		// Token: 0x0400537E RID: 21374
		private DIEEHLNJLON cNPIENKHDFM_;

		// Token: 0x0400537F RID: 21375
		public const int RetcodeFieldNumber = 6;

		// Token: 0x04005380 RID: 21376
		private uint retcode_;

		// Token: 0x04005381 RID: 21377
		public const int ONAPKMMGHBEFieldNumber = 1;

		// Token: 0x04005382 RID: 21378
		private long oNAPKMMGHBE_;

		// Token: 0x04005383 RID: 21379
		public const int OLBEAFGCGGAFieldNumber = 7;

		// Token: 0x04005384 RID: 21380
		private bool oLBEAFGCGGA_;
	}
}
